import { createApp } from 'vue'
import App from './App.vue'
import router from './router'
import store from './store'
import ElementPlus from 'element-plus'
import 'element-plus/dist/index.css'

// 导入mockjs
import "./mock/index";

import mitt from 'mitt'

let app = createApp(App)
// app.config.globalProperties.$message()
app.config.globalProperties.$bus = mitt()




app.use(ElementPlus).use(store).use(router).mount('#app')
// app.use(ElementPlus).use(store).use(router).mount('#app')
